package com.nova.scenic.projectlibs.util.lifecyclehelper;

import android.content.Intent;
import android.content.res.Configuration;
import android.os.IBinder;

/**
 * Created by scenic on 16/6/6.
 */
public interface ServiceLifeCycleHelper {
    void onCreate();

    int onStartCommand(Intent intent, int flags, int startId);

    void onStart(Intent intent, int startId);

    boolean onUnbind(Intent intent);

    IBinder onBind(Intent intent);

    void onTaskRemoved(Intent rootIntent);

    void onRebind(Intent intent);

    void onHandleIntent(Intent intent);

    void onConfigurationChanged(Configuration newConfig);

}
